Fixes registration