obvious bug fix