added layout helpers to compatibility mode