fix the notices