Some critical bugs in database were fixed.