return empty map instead of null