fixes for linux deployment