Gallery: remove method bug has been fixed