fix graham problem again