Fixed problem with padding