Fix missing variables