fix dbscript without data (lol)