fixing submit