a fix for Haiku.