fixed model tearing bug