Fix to sha reference and string split