This may not be the case but sometimes when you get foam at the top of the water it can be caused my elevated levels of amonia. Also if it is fat and oil that too could also cause your levels of ammonia to rise. Like I said prob not it but something you might want to test for.