changed connection to PDO, fixed alignment in bios