Update read.inc.php

Saving some bugfixes.