add if statement for a5ul

Signed-off-by: Willi Ye <williye97@gmail.com>