Removing two unecessary lines from GUI