fix for arraylist being sent as modelmap