subscribe properly to mysql vars