remove os dependent stuff