bug fix for when register is called without deps