fixed postinst script error