try to fix admin page error on show generated code