Fixing some katcp issues