performance fix for imgs