improve debug behaviour on contractacio form