Fix $submit_by undefined error