changed "==" to "=" to try and fix postgress error