fix error when ps result is broken
fix error when ps result is broken