fix of errors