dup2 change fixed