additional check for disk use. New pull request