Fixed bug of documentation display when activity = else