Fix public_address in settings handler