Removing a unnecessary line