bugfix in resource manager (last file separator)