made the readline tab_completion instantiate before the readline method is executed