Fixwarnings

Varaibles needs to be accessed with @