worksheet bug fixes