Fix for #3

Thanks to rotzbouw for checking again.