minor error removal