remove deprecation message about passing path as array