trying to figure out why fgets recieve a new line