Revert "does this also fix the mime type issue?"

This reverts commit fccb8e6353ec2e9471581f3e92bc51a2e0f0d957.