but fix plus debug printing