fix database corruption due to bad insert syntax. hopefully the ready up button works as intended now.