Fixing dependency error