Fixed Error: target cannot be resolved to a variable