fixed condition not valid of adding description for postgresql