removing auto-layout for backward compatibility
removing warnings
removing tests