fixed some dependency issues