fixes to postgres and rabbitmq packages