bug fixes and improved view in images