I think the problem is using array variables ... By creating proper byte variables everything works as I expect ...