Handling circular call errors