clean the code and test context menu