Solve a bug when no parameter were given