fix active img errors