fix switched vars

small fix