fixed formatter not returning nodes