remove '-1' from location().