minor changes to boss.php