Fixed wrong array type