tested if current portal is set