Fixed some disable problem in model