clear some issues when in dev mode