divspaces and main adjusted