fixed overly strict warrning