Fix extractAddress return value