Fix blog media upload issue