patch code quality