Fix bug at backend.