fix dirty select package