fix returnning value.