img bugs fixed