turned on all warningsa nd fixed issues