fix variables