some fixes and updates, init.php changed