fix get error rules