Loading spinner bug fixed