fixing txt output on clusters