fix return type mismatch
Merge pull request #890 from keertip/fixex

fix return type in select folder