hack to get around development mode error