fixing beats.php structure and styles