GlobalActions.java fix errors