add client init view and fixing bug for serializable objects