fix debug mode - add title - css seperation