Fixed no submit bug