avoid gs if color function in specific level is not registered