fixed more stuff in the assignment creation.