fix for aligned array elements