use querySelector if string;
check that elem is truth first