bug with ready