text appears in the wrong place