removed the remanence of cancel button at leads to a bug