fixed color template
some fixes to visiblity issues
visibility bug fixed