fixed SW forwarding bug