correctly load dependencies