(do this for the same reason as on client side; this would not be necessary in the real implementation.)