fixing the deploy run error… and the sorting of the menu in the proper order