fixed running under ubuntu