fixes of static/virtual