fix issue when postscript has not output