fixed for csh