fixed setColor: make it backward compatible