fixed prepared statements