avoid grade nil, bit css for register page