#359 fixing loading spinner