bugfix: mode [on file header] breaks bad the gem script