Fixed save bug when embed is False