Fix loi Model khong the dung ref variable