Fixing overflow and positioning of studying part