fixed positioning and sizing bug