Something was wrong with my previous VM because it's working relatively fine now.