main image work and cart errors