fixed problems with starting from haps/sample