fix error log and remove psotsync