changed another three "error()" functions to "err()"