Fix bug in last submission