compat with paths