fix the constrain of house index