general cleanup of srnode