Fixing custom blocks syntax issue