fixed maryo state changing and size based on state