fixed bugs, versions working now