decltype fix on missing type info