removed missing API call in state