fixed unknown extension crash (#24)