bug in 404 write