cleanup and debug alt views 3 and 4