Simplify get result and remove condition