fix img errors