fixed infinate loop in removeLastOccuranceOf