fixed plugin routes not being cleared from routes in dev mode