wrap in timeout to avoid issues with render time