remove __dir__ for backward compatibility