fix for paths relative to plugin