stmt->get_result error fixed