in_tail: fixed nil error problem of pos_file