Google has apologized and pledged to fix its Google Maps service to prevent racial slurs from being directed at President Obama and the White House.

The Huffington Post was the first to note on Tuesday afternoon that if users entered the phrase “n----- house” while searching the Washington, D.C., area, they are directed to the White House. The Washington Post later reported that a similar result occurred if users searched for "“n----- king."

ADVERTISEMENT

“Some inappropriate results are surfacing in Google Maps that should not be, and we apologize for any offense this may have caused,” a company representative said in a statement to the Post. “Our teams are working to fix this issue quickly.”

By 10:00 a.m. on Wednesday, the searches still caused Google Maps to display the White House.

While the source of the issue was not immediately clear, Google has had problems with the program in the past, stemming from the fact that users can add elements to maps in the program.

On May 12, Google announced it was suspending a program that lets users edit maps, after a series of pranks struck the service.

Someone, for example, marked the White House as the location of "Edwards Snow Den" — a clear reference to Edward Snowden, the National Security Agency leaker behind the release of documents that revealed the agency's domestic surveillance programs.

Clarification: This item initially reported that the Washington Post had first reported the issue with Google Maps. In fact, the Huffington Post was first to report the issues.