issues rendering from db