fixed some issues with mini max