fix bug not to return