resolved bugs with tp and colors