potencial linux fix added, needs testing