cleanup and check on time span in nodemap