fixed compatibility error with greedy autoloaders