Bugfix hiclib main