fixed wrong object errors added