Fixed incorrect assignment