Fixed GetProgram bug