fix plugin loading from an absolute path