attempt to fix is null error in stage, releases.php