fix bugs in lib/ocs/postman.rb