multi require dirname bug