fixed small issue when no assignments are present