delete some code inserted for debugging purpose that should have been removed