remove useless logic for deploy check