Add error handling for multiple underscores