fixes several kvirt module issues