database fixes and correct seed