fix sample database