Fix wrong variables