correct errors in jokes controller