Fixing extra line in nb