Why did you remove key?
Can you keep the spaces like before (just one space after $my_var)