Fixed bug with non existent location breaking add