hopefully fixing images bug