Fixed display destination and added debugging