fix return type in select folder

@devoncarew