bug in img fetch