fixed image import and gps setting