The meaning of Karma is in the intention. The intention behind the action is what matters.

Shri Krishna