fixed copy paste bug