create button bug fixes