Updating reporting url and fixed a bug