Fixed error in submitting entries