correct DB syntax; incorrect display of information