Fixed copy and paste bug