Fix duplicate staff code
Fixed issue with graduation