remove unused register keyword