fixed crash on lp and fixed item spacingin grid