fixes for the linux version