detect plugin path better
fix path again