I don't understand why this line was there.  If there's a good reason please let me know, but I've removed it and it works for me :)