some fixes, colors, logging defects