hot fix for empty query and changed dashboard view to use amd style