fixed purchase edit page