fix bug for 10.04