Gallery Main Page Fix