Rename "fd1" variable ro "fd". There were previously two variables (fd1 and