resolve a mistake