Fixed running under ubuntu