make R15 compatible