removed poorly placed error