fixes register
formats and stuff