fixed shingle creation bug