fix color initialization