remove unused register param