avoid to call body.center twice