fixed postinst bug