small fixes in colors and strings resource parsing