prevent errors from killing the script