fix warning: variable defined twice.
fix #30: image is not shown in Firefox 25.0.1