map and character alignment fix