fixes

fixed null results passed to mapcontroller