fixing copy/paste bug