bug - fixes #47