Fixed old plugins crashing new version