added reive plugin
fixed toggle function