some changes
fixed density not shown bug