Fixes variable names

Found by @grom358