gallery bug fixed (files (pdf, excel..) where saved in the gallery
folder, instead of the module folder)