removed some null objects in database