minor fix to layout view