node complaining, so tidying up