current_code not created bug fixed!