fixed the loading to spinjs