Fixed most bugs with sass conversion