handle j before return key