fixed padding and resizing