fixed issue on saving pic and cover_pic