fixing output text