fixed some menu actions