fix open usage on ubuntu