Color images bug fixed