fixing required length for eventcontainer layout field