fix syntax
properly call print_plan