Fix extended length
Style active elements in output