debugging the database value return