fixed typo that caused bug in database tab