adjusting buttons to a