Fix block name retrieval on submit action