improved grid validation, added log into Controller