move warning to the top