add a new alias action :display and refactor some code of ability

Fixes #4865