fix intallation eror

on line 174 change private to def