delete nodename as it might provoke errors
fix deleting one line too many