Fixed potential bug
Fixed call wrong function