fix install plugin exception handling