bug fix from last night