Possible fix for activation compiler warning