fixed bug with img-select