fix erors