little fix
added require_tree support