fixed text wrapping bug