fixed missing character, cleanup