added stuffs for word wrap