fixed a bad message send in prototype for execute primitive
merged with Eliot 915
fixes a bug on weak references