Some if errors