Fixed prepared statements calls. Now it's working (!?)