fills in empty arrays and missing actions