removed sql exceptions