fixed analytics bug I think