bugfix resource versioning