more simple solution for non-html exts