Fix front end for location imports