Declared the dependencies names, so it works after minimized.