fixed issue with variable names and variables not being parsed correctly from component path