Fixed some bugs & added min hv version