Fixed save register, not getting value correctly