Fixed some image catalog problems