LD-102 Fix bug typecast