fixed submit issue (logging remains)