fix complete code issue