removed error messages because they are unused