small portfolio controller fix