session error fixed when opening assignment