remove cruft and handle automap off