debugging the devise