re added manifest and fixed offset bug