fix for linux platform