fix loading animation not showing