irregistersalu with some errors fixed