fixed device deletion with stats
made diskfree plugin work with 0.4 branch