fix redundant method