Fixed modified and added halfsync