Fix /plugins crash