Fix helper method