change package direction