minor changes to be compatible with slask plugins