fixed issue with only one custom link being sent back to client