bunch of bugs smashed, works on local