Fix internal error