fix for in array