Avoid the return multiple objects error