fix passing of 1 as pdo value