use correct names when declaring register variables