(hopefully) fixed analytics bug