fix custom select
Merge pull request #1253 from deividmarques/wip

fix custom select