fixed potential bug for standalone blocks