fixed bug with box-element loading