Curry cleanup and debug puts