Shield - Small bugfix in trimming.