add allow commandblock check