fix card container and doTimeOut()