fixing bug with defining nonexistent color maps