smarty address problem solved and apply to client.php