Strtolower was the problem :)