fix for db?