removed double submit