Fixing submit action