Fixed fatal error, closes #8.