fix to compile on indigo #529

fixes #529