minor var changes
fix default color map index