Fixed weird DB problem