fix for S+E exceeding 100