fix phoca joomgalery plugin