Removed error printing