fixing the random images