work around a compile problem that only occurs in the IDE