images new error on type