quick bug fix on assignment selection