Added error checking for mounted on client.