fixes #496

fixes https://github.com/assemble/assemble/issues/