handle deps right