Fix problem between unicorn and postgresql