minor fix for remote button code