extra logging, fix parsing