make it compile on flash by resetting extern values