fix minor mistakes, closes #4