some bug issues with spin js