Fixed issue with Activity :type