Fixed errorcodes