fixed bug on committing exam answer