fix git plugins reloading issue