Variable display bug fix