fixed bug that prevented spinner from showing