Use the correct dependencies. Guard the var