fixed for multi-packages