changed err messages