fix error in new application panel opening and new party form
fix error in new application panel opening and new party form