fix postgres 9.2 exceptions
new code climate img