Fixed release character issue while it is at the end of field