resource: simple bugfix