clergical error fix
error handling