Fix rest debug messages

Fix rest debug messages