Fixed segfault with OnGetInput, new version and fixed sync on command