Try to fix some bug in ubuntu precise