changed some atributes in Room to int