fixed some issues in blackcat module