Fix wrong profile table name after refactor