progression of errors with database buttons