fix bug with reload images