hack to prevent runtime error