fixed all warnings

its the first time that I realize that you don't need a whitespace before '$var' !?