handle ready state better