fixed some haxelib related bugs