Fixed phi mapping
remove cout