add if sentence for avoding check