bug fixes with sell button