re-write rias extension
add chrome workaround