Fix duplicated method