fix entry submit problem