fixed bugs in shipping policy