fixed some image stuff