solved all view bugs