fix step update and map loading