wow such a fail - fixed seg fault