Problem with crating new gallery (version 1.6.4)