Bug in toocheckout code
PDO conversion