resolving plugin dependencies