Fix require_tree issue