fixed path bug
fixed sorting function
fixed loading animation