warning instead of error for semantik mistakes