Fixed error in errcodes path