move warning to setup