fixed ksh old sintax