fixes for add portfolio