fix bug in serving up static content