fix compilation on indigo