fixed buttons layout bug