fix trim from to resolve shas