fixed out of order problem for pg
format on readme