nullpointer when reverting. weird