fix for platform