Fixed bug with linux changes that caused endless loop into no were