added some debug messages, still no fix for the up button issue