fix different version of ls