fixed issue with commitments not appearing and bug with last commit

fixed #16