fixed issue in chrome where image didnt load