fixing db bugs on 1.0.85