fixing JDB sync new code