fix LinkProgram call back