fixes #942
bugfix: unreported 'compiles' bug