control flow error fixed
add warning to text