fixed bug with pick id