fixed double submit I think