Fixed typo
fixed access modifiers in server: no need for public methods