db migration && notice fix