fixing mono solution and warnings.