fix incorrect indirection for file descriptor