small errors fixed

small errors are fixed involving bindparam/bindvalue