bug in select with source passed