Fix package register