fixed issue with variable href instead of param href