removed error in code