random bug fix