really fixed degree.php