fixed a crash bug due to null reference
take ModelProxy argument to accept null label reference