fixing database stuff for new comp