still trying to solve pivot table issue