added changes to fix linux version