refonte view + debug