problem with generalized image type solved