fixed access of plugin resources