ps: small cleanup, avoid copying unitialized value