fixed gallery titles on index.php