added button min width checks