i think this should have been err.message