fixes issuse #3