TODO add IP warning to all necessary places