change button size and remove empty spaces