this fixes the problem and closes #28