fixes to fastcgi