fixes on backend assignment logic