Some values are missing after submit