third bug fix