allow addinitonal args with bidi; cast Long to int automatically when setting int attrs