used set timeout to fix flex issue

band aid fix...