fixed plugin enabling by regex