I found the problem.The direct using of $1 in $address cause troubles when i set it like a variable it is fine


Tullamore Dew