fix incorrect usage of after_place_node