revert Trim of ArrayList