removed warnings in first view controller