fixed positioning bugs