prevent clientside only method from being called serverside