fix padding issues when there is no color present