removed need to return null from ui thread