fixed database issue in interactive attempts table