detect plugin version