fixing template for register stuff