Fixed issue with activity field