removed the extra debug statement that i had added in get_empty_fd