fixing some dependency issues and removing resource virtuals