fix variables for subject