Hack to avoid exception