fixed issues with function and map rendering