uplaod media; fix fern