fix variable sub