fix color type in tags