made option "single reference" working. enablign this option a post can be linked only by one post. multiple link on the same post cannot be done!