Use correct attribute.on instead of attribute.onKey