fix default select when from is used