Fixed error in lib-reader.php