Fixing calling wrong function