Fixed debug message and added case for switching observers