avoiding compiler warning in some IDEs (closes #379)