fix ionice check. Fixes #504