minor fixes, updated dependency check