bug fix. minor