Fixed the APL input mode