updated error to errors closes #294