fix variable parser