database allwoed issue