Frustratingly dumb bug