added removed mimetype and fixed some unicode stuff