finally fixed image issues