Fixed errors with auto layout.
Merge pull request #11 from webventil/auto-layout-fix

Fixed auto layout warnings.