minor bugs fixed in device views