change plugin from block to compiler