Corrected bindValue statement and variable assignments