Fixed editing existing package bugs.