Fix agency main layout