check dependencies