Fixes prompting error with db sync