correct sendfile check