fix bug, postgre data shall be 0700