Shortening param if it is too long