fixed strange database regression