Typo in gallery callback