Fixes csrf compatibility issue..