Another stupid bug. I need some sleep!