fix activity parser bug