some hacks for input when location fields are already filled.