fixed some composer compatibility issues